<script type="text/javascript">
	 selectTab('view_entries');
     var list_image = new Array();
</script>

<?php if (Core_Util::hasMessage(Core_Util::THANK_YOU_MSG)): ?>
	<div class="sm_message_panel">
		<p class="header">&nbsp;&nbsp;
			<?php echo $this->escape(Core_Util::getLatestMessage($this->contest->getThanksYouMgsKey())); ?>
		</p>
	</div>
<?php endif; ?>
<!--vote permission message-->
<?php if (count($this->is_allow_message)): ?>
	<div class="sm_message_panel">
		<?php foreach($this->is_allow_message as $msg):?>
			<p><?php echo $this->escape($msg);?></p>
		<?php endforeach;?>
	</div>
<?php endif; ?>

<?php 
    $contest_detail_params = array(
        'contest' => $this->contest,
        'entry' => $this->entry,
        'paginator' => $this->paginator,
        'arrListItemsCount' => $this->arrListItemsCount,
        'extraValues' => $this->extraValues,
        'social' => $this->social,
		'id_page'=> $this->id_page,
        'id_user'=> $this->id_user,
		'is_show_vote_button' => $this->is_show_vote_button,
        'is_voted' => $this->is_voted,
        'messages' => $this->messages
    );
    if($this->contest->isViewEntryByTwoColumn()){
        echo $this->partial('detail/two_column.phtml', $contest_detail_params); 
    } else {
        echo $this->partial('detail/one_column.phtml', $contest_detail_params); 
    }
?>

<?php echo $this->partial('index/scrollTop.phtml'); ?>